package com.kinglone.back.permission.dao;

import java.util.List;
import java.util.Map;

import com.kinglone.back.permission.model.Permission;

public interface PermissionMapper {

	/**
	 * 根据角色和模块id查询权限信息
	 * @param roleId
	 * @param moduleCode
	 * @return
	 */
	List<String> getOperasByRoleIdAndCode(Map<String, Object> params);
	/**
	 * 删除权限
	 * @param params
	 */
	void deleteOperas(Map<String, Object> params);
	
	void save(Permission p);




}
